﻿@namespace Project.Web.Shared.Components
@using System.Diagnostics.CodeAnalysis
<script src="@VersionSrc"></script>
@code {
    [Parameter, NotNull] public string? Src { get; set; }
    [Inject, NotNull] IFileService? FileService { get; set; }
    string VersionSrc => FileService.GetStaticFileWithVersion(Src);
}
